package com.woniuxy.enjoylife.mapper;

import com.woniuxy.enjoylife.entity.Goods_comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.enjoylife.entity.dto.ReturnGoodsCommentReplyDto;
import com.woniuxy.enjoylife.entity.dto.SelectGoodsCommentDto;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-23
 */
public interface Goods_commentMapper extends BaseMapper<Goods_comment> {

    List<ReturnGoodsCommentReplyDto> selectGoodsCommentsDto(int gid);

    List<ReturnGoodsCommentReplyDto> SelectGoodsCommentDto2(SelectGoodsCommentDto dto);

    Goods_comment selectSingle(Goods_comment goodsComment);

    List<Goods_comment> select(Goods_comment goodsComment);

    int insert(Goods_comment goodsComment);

    int update(Goods_comment goodsComment);

    int delete(Goods_comment goodsComment);

}
